package at.socialconference.inter.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Talk implements Serializable, Updatetable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5664368475807574940L;

	private Integer id;

	private String title;

	private String description;

	private Date date;

	private Date from;

	private Date to;

	private Place place;

	private List<User> speakers = new ArrayList<User>();
	
	
	public Integer getId() {
		return id;
	}

	public Talk(){}
	
	public Talk(Integer id, String title, String description, Date date, Date from, Date to, Place place,
			List<User> speakers) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.date = date;
		this.from = from;
		this.to = to;
		this.place = place;
		this.speakers = speakers;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getFrom() {
		return from;
	}

	public void setFrom(Date from) {
		this.from = from;
	}

	public Date getTo() {
		return to;
	}

	public void setTo(Date to) {
		this.to = to;
	}

	public Place getPlace() {
		return place;
	}

	public void setPlace(Place place) {
		this.place = place;
	}

	public void setSpeakers(List<User> speakers) {
		this.speakers = speakers;
	}

	public List<User> getSpeakers() {
		return speakers;
	}

}
